package com.east.mapper;

import com.east.entity.Product;

import java.util.HashMap;
import java.util.List;

/**
* @author eastj
* @description 针对表【t_product(产品表)】的数据库操作Mapper
* @createDate 2025-01-17 20:43:35
* @Entity com.east.entity.Product
*/
public interface ProductMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    List<Product> queryAll();

    List<HashMap<String, String>> getNameAndId();
}
